package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.ScFile;
import cn.com.yx.ms.domain.dbmodel.SysUser;
import cn.com.yx.ms.domain.program.CatalogFileModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScFileMapper {
    int deleteByPrimaryKey(String guid);

    int insert(ScFile record);

    int insertSelective(ScFile record);

    ScFile selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(ScFile record);

    int updateByPrimaryKey(ScFile record);

    List<ScFile> find(ApiQueryBase query);

    int selectCountByMd5(@Param("md5") String md5);

    List<CatalogFileModel> findCatalogFile();
}